Quality management framework